<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
 <html>
 <head>
 	<title>信息无限分类管理</title>
 	<meta charset = "utf8">
 </head>

 <body>
 	<!DOCTYPE html>
 <html>
 <head>
 	<title>信息无限分类管理</title>
 	<meta charset = "utf8">
 </head>
 <body>
 	<center>
 		<h3>信息无限分类管理</h3>
 		<a href="<?php echo U('Home/Index/index' );?>">查看分类</a>&nbsp;&nbsp;

 		<a href="<?php echo U('Home/Add/add', array( 'id' => 15 , 'name' => '根类' , 'pid' => 0 , 'path' => '0,'));?>">添加分类</a>&nbsp;&nbsp;
 		<hr />
 	</center>
 </body>
 </html> 
 	<center>
 		<form action="<?php echo U('Home/Add/addDo');?>" method="post">

 			<table>
 				<tr>
 					<td>父类：</td>
 					<td><?php echo ($row["name"]); ?></td>
 				</tr>
 				<tr>
 					<td>创建子类：</td>
 					<td><input  type="text" name="name"></td>
 				</tr>
 				<input type="hidden" name="pid" value="<?php echo ($row["id"]); ?>">
 				<input type="hidden" name="path" value="<?php echo ($row["path"]); ?>">
 				<tr>
 				<td></td>
 				<td><input type="submit" value="提交"/>&nbsp;&nbsp;<input type="reset" value="重置"/></td>
 				</tr>
 			</table>

 		</form>
 	</center>
 </body>
 </html>